package com.jumi.microservice.domain;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 商城相册表
 * </p>
 *
 * @author liuz
 * @since 2020-07-27
 */
@ApiModel(value="PhotoAlbum对象", description="商城相册表")
public class PhotoAlbumVO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "相册名称")
    @NotBlank(message = "相册名称不能为空")
    private String photoAlbumName;

    @ApiModelProperty(value = "相册封面")
    private String photoAlbumCover;

    @ApiModelProperty(value = "描述")
    private String photoAlbumDescription;

    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    @ApiModelProperty(value = "相册排序方式 0:大->小.1:小->大")
    private Integer orderType;

    @ApiModelProperty(value = "相册图片数量")
    private Integer imageNum = 0;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhotoAlbumName() {
        return photoAlbumName;
    }

    public void setPhotoAlbumName(String photoAlbumName) {
        this.photoAlbumName = photoAlbumName;
    }

    public String getPhotoAlbumDescription() {
        return photoAlbumDescription;
    }

    public void setPhotoAlbumDescription(String photoAlbumDescription) {
        this.photoAlbumDescription = photoAlbumDescription;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public String getPhotoAlbumCover() {
        return photoAlbumCover;
    }

    public void setPhotoAlbumCover(String photoAlbumCover) {
        this.photoAlbumCover = photoAlbumCover;
    }

    public Integer getImageNum() {
        return imageNum;
    }

    public void setImageNum(Integer imageNum) {
        this.imageNum = imageNum;
    }
}
